package com.zl.classroommanagement.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.zl.common.annotation.Excel;
import com.zl.common.core.domain.BaseEntity;

/**
 * 二维码用户对象 qrcde_user
 *
 * @author zl
 * @date 2022-05-03
 */
public class QrcdeUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 教师id */
    @Excel(name = "教师id")
    private Long teachercard;

    /** 班级id */
    @Excel(name = "班级id")
    private Long classs;

    /** 用户昵称 */
    @Excel(name = "用户昵称")
    private String nickName;

    /** 用户 */
    @Excel(name = "用户")
    private String userAme;

    /** 生成时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "生成时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date publishDate;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** 原因 */
    @Excel(name = "原因")
    private String reason;

    /** 附件 */
    @Excel(name = "附件")
    private String fujian;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setTeachercard(Long teachercard)
    {
        this.teachercard = teachercard;
    }

    public Long getTeachercard()
    {
        return teachercard;
    }

    public Long getClasss() {
        return classs;
    }

    public void setClasss(Long classs) {
        this.classs = classs;
    }

    public void setNickName(String nickName)
    {
        this.nickName = nickName;
    }

    public String getNickName()
    {
        return nickName;
    }
    public void setUserAme(String userAme)
    {
        this.userAme = userAme;
    }

    public String getUserAme()
    {
        return userAme;
    }
    public void setPublishDate(Date publishDate)
    {
        this.publishDate = publishDate;
    }

    public Date getPublishDate()
    {
        return publishDate;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }
    public void setReason(String reason)
    {
        this.reason = reason;
    }

    public String getReason()
    {
        return reason;
    }
    public void setFujian(String fujian)
    {
        this.fujian = fujian;
    }

    public String getFujian()
    {
        return fujian;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("teachercard", getTeachercard())
            .append("classs", getClasss())
            .append("nickName", getNickName())
            .append("userAme", getUserAme())
            .append("publishDate", getPublishDate())
            .append("status", getStatus())
            .append("reason", getReason())
            .append("fujian", getFujian())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
